package com.itheima.Tesk;


public class ThreadTest {
    public static void main(String[] args) {
        MyThread M = new MyThread();
        Thread T1 = new Thread(M);
        Thread T2 = new Thread(M);
        T1.setName("抽奖箱1");
        T2.setName("抽奖箱2");
        T1.start();
        T2.start();


    }
}
